﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x0200009D RID: 157
	internal class FixInt32 : IInt32Decoder
	{
		// Token: 0x06000288 RID: 648 RVA: 0x0000B691 File Offset: 0x00009A91
		private FixInt32()
		{
		}

		// Token: 0x06000289 RID: 649 RVA: 0x0000B699 File Offset: 0x00009A99
		public int Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 1;
			return (int)bytes[offset];
		}

		// Token: 0x040000BF RID: 191
		internal static readonly IInt32Decoder Instance = new FixInt32();
	}
}
